
package com.bi2.events.mobile;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;

public class LoginActivity extends Activity {

    private Button login_btn;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.login);

        this.login_btn = (Button) findViewById(R.id.login_btn);
        this.login_btn.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                startLogin();
            }

        });
    }

    @Override
    protected void onStart() {
        super.onStart();
    }

    private void startLogin() {
        Intent main = new Intent(this, MainActivity.class);
        startActivity(main);
    }
}
